package com.seveneight.baijiesteward.ui.first.contract;

import android.content.Context;

import com.seveneight.baijiesteward.bean.ProfitBean;
import com.seveneight.baijiesteward.http.MyCallBack;

import java.util.List;

import okhttp3.RequestBody;

/**
 * Created by user1 on 2018/4/4.
 */

public interface ProfitContract {
    interface ProfitView {
        void rebackProfitData(List<ProfitBean> data);
    }

    interface ProfitModel {
        void getProfitData(Context context, RequestBody body, MyCallBack<List<ProfitBean>> myCallBack);
    }

    interface ProfitPresenter {
        void getProfitData(Context context, RequestBody body);
    }

}
